<style lang="less">
  @import './flex.less';
</style>

<template>
  <div
    :class="['flex-item', {
      'flex-item-initial': width || initial,
    }]"
  >
    <slot />
  </div>
</template>

<script>
export default {
  props: {
    initial: Boolean,

    width: {
      type: Number,
      default: null,
    },
  },
}
</script>
